package com.zone.service.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zone.common.core.annotation.Excel;
import com.zone.common.core.web.domain.BaseEntity;

/**
 * 保安员证信息对象 zone_gun_security
 * 
 * @author zone
 * @date 2025-11-06
 */
public class GunSecurity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** emplyee表id */
    @Excel(name = "emplyee表id")
    private Long employeeId;

    /** 保安员证 */
    @Excel(name = "保安员证")
    private String securityNum;

    /** 证件图片地址 */
    private String photoUrl;

    /** 发证机关 */
    @Excel(name = "发证机关")
    private String authority;

    /** 证件管理状态 */
    @Excel(name = "证件管理状态")
    private Long status;

    /** 创建人 */
    private String createUser;

    /** 修改人 */
    private String updateUser;

    /** 部门 */
    private Long departmentId;

    /** $column.columnComment */
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }

    public void setSecurityNum(String securityNum) 
    {
        this.securityNum = securityNum;
    }

    public String getSecurityNum() 
    {
        return securityNum;
    }

    public void setPhotoUrl(String photoUrl)
    {
        this.photoUrl = photoUrl;
    }

    public String getPhotoUrl()
    {
        return photoUrl;
    }

    public void setAuthority(String authority) 
    {
        this.authority = authority;
    }

    public String getAuthority() 
    {
        return authority;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }

    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }

    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    // == 展示用（联表查出）==
    @Excel(name = "姓名")
    private String empName;

    @Excel(name = "工号")
    private String empNo;

    @Excel(name = "身份证号")
    private String idno;

    @Excel(name = "员工状态")
    private String employmentStatus;

    public String getEmpName() { return empName; }
    public void setEmpName(String empName) { this.empName = empName; }

    public String getEmpNo() { return empNo; }
    public void setEmpNo(String empNo) { this.empNo = empNo; }

    public String getIdno() { return idno; }
    public void setIdno(String idno) { this.idno = idno; }

    public String getEmploymentStatus() { return employmentStatus; }
    public void setEmploymentStatus(String employmentStatus) { this.employmentStatus = employmentStatus; }

    public Integer getDeleted()
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("securityNum", getSecurityNum())
            .append("photoUrl", getPhotoUrl())
            .append("authority", getAuthority())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("departmentId", getDepartmentId())
            .append("deleted", getDeleted())
            .toString();
    }
}
